<?php
$config = @include 'configs/mysql.php';
$db = $config['db'];
$dbp = mysql_connect($db['host'], $db['username'], $db['password']);
mysql_select_db($db['dbname'], $dbp);
?>